<template>
  <div>
    <el-dialog
      title="提示"
      :visible.sync="visible"
      width="30%"
      center
    >
      <span>补货清单</span>
      <span slot="footer" class="dialog-footer">
        <el-button @click="close">取 消</el-button>
        <el-button type="primary" @click="onSubmit">确 定</el-button>
      </span>
    </el-dialog>
  </div>
</template>

<script>
export default {
  props: {
    visible: {
      type: Boolean,
      default: true
    }
  },
  data() {
    return {
      centerDialogVisible: false
    }
  },
  methods: {
    close() { console.log('guanbi') },
    onSubmit() { console.log('提交') }
  }
}
</script>

<style>

</style>
